﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Century.Admin.Helper
{
    public static class HtmlHelperExtensions
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="helper"></param>
        /// <param name="path"></param>
        /// <param name="targetName"></param>
        /// <returns></returns>
        public static MvcHtmlString FileExplorerFor(this HtmlHelper helper, string path, string targetName)
        {
            return System.Web.Mvc.Html.ChildActionExtensions.Action(helper, "Index", "FileExplorer", new { sitepath = path, targetName = targetName });
        }
    }
}